package org.hxyjs.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 
 */
public class TicketRecord implements Serializable {
    private String arcno;

    private String cono;

    private String ano;

    private String uno;

    private String rno;

    private String afno;

    private String cno;

    private String trname;

    private String cstate;

    private Date ccreatetime;

    private Date ccosttime;

    private Date arcdate;

    private String arcprice;

    private String arcnum;

    private static final long serialVersionUID = 1L;

    public String getArcno() {
        return arcno;
    }

    public void setArcno(String arcno) {
        this.arcno = arcno;
    }

    public String getCono() {
        return cono;
    }

    public void setCono(String cono) {
        this.cono = cono;
    }

    public String getAno() {
        return ano;
    }

    public void setAno(String ano) {
        this.ano = ano;
    }

    public String getUno() {
        return uno;
    }

    public void setUno(String uno) {
        this.uno = uno;
    }

    public String getRno() {
        return rno;
    }

    public void setRno(String rno) {
        this.rno = rno;
    }

    public String getAfno() {
        return afno;
    }

    public void setAfno(String afno) {
        this.afno = afno;
    }

    public String getCno() {
        return cno;
    }

    public void setCno(String cno) {
        this.cno = cno;
    }

    public String getTrname() {
        return trname;
    }

    public void setTrname(String trname) {
        this.trname = trname;
    }

    public String getCstate() {
        return cstate;
    }

    public void setCstate(String cstate) {
        this.cstate = cstate;
    }

    public Date getCcreatetime() {
        return ccreatetime;
    }

    public void setCcreatetime(Date ccreatetime) {
        this.ccreatetime = ccreatetime;
    }

    public Date getCcosttime() {
        return ccosttime;
    }

    public void setCcosttime(Date ccosttime) {
        this.ccosttime = ccosttime;
    }

    public Date getArcdate() {
        return arcdate;
    }

    public void setArcdate(Date arcdate) {
        this.arcdate = arcdate;
    }

    public String getArcprice() {
        return arcprice;
    }

    public void setArcprice(String arcprice) {
        this.arcprice = arcprice;
    }

    public String getArcnum() {
        return arcnum;
    }

    public void setArcnum(String arcnum) {
        this.arcnum = arcnum;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        TicketRecord other = (TicketRecord) that;
        return (this.getArcno() == null ? other.getArcno() == null : this.getArcno().equals(other.getArcno()))
            && (this.getCono() == null ? other.getCono() == null : this.getCono().equals(other.getCono()))
            && (this.getAno() == null ? other.getAno() == null : this.getAno().equals(other.getAno()))
            && (this.getUno() == null ? other.getUno() == null : this.getUno().equals(other.getUno()))
            && (this.getRno() == null ? other.getRno() == null : this.getRno().equals(other.getRno()))
            && (this.getAfno() == null ? other.getAfno() == null : this.getAfno().equals(other.getAfno()))
            && (this.getCno() == null ? other.getCno() == null : this.getCno().equals(other.getCno()))
            && (this.getTrname() == null ? other.getTrname() == null : this.getTrname().equals(other.getTrname()))
            && (this.getCstate() == null ? other.getCstate() == null : this.getCstate().equals(other.getCstate()))
            && (this.getCcreatetime() == null ? other.getCcreatetime() == null : this.getCcreatetime().equals(other.getCcreatetime()))
            && (this.getCcosttime() == null ? other.getCcosttime() == null : this.getCcosttime().equals(other.getCcosttime()))
            && (this.getArcdate() == null ? other.getArcdate() == null : this.getArcdate().equals(other.getArcdate()))
            && (this.getArcprice() == null ? other.getArcprice() == null : this.getArcprice().equals(other.getArcprice()))
            && (this.getArcnum() == null ? other.getArcnum() == null : this.getArcnum().equals(other.getArcnum()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getArcno() == null) ? 0 : getArcno().hashCode());
        result = prime * result + ((getCono() == null) ? 0 : getCono().hashCode());
        result = prime * result + ((getAno() == null) ? 0 : getAno().hashCode());
        result = prime * result + ((getUno() == null) ? 0 : getUno().hashCode());
        result = prime * result + ((getRno() == null) ? 0 : getRno().hashCode());
        result = prime * result + ((getAfno() == null) ? 0 : getAfno().hashCode());
        result = prime * result + ((getCno() == null) ? 0 : getCno().hashCode());
        result = prime * result + ((getTrname() == null) ? 0 : getTrname().hashCode());
        result = prime * result + ((getCstate() == null) ? 0 : getCstate().hashCode());
        result = prime * result + ((getCcreatetime() == null) ? 0 : getCcreatetime().hashCode());
        result = prime * result + ((getCcosttime() == null) ? 0 : getCcosttime().hashCode());
        result = prime * result + ((getArcdate() == null) ? 0 : getArcdate().hashCode());
        result = prime * result + ((getArcprice() == null) ? 0 : getArcprice().hashCode());
        result = prime * result + ((getArcnum() == null) ? 0 : getArcnum().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", arcno=").append(arcno);
        sb.append(", cono=").append(cono);
        sb.append(", ano=").append(ano);
        sb.append(", uno=").append(uno);
        sb.append(", rno=").append(rno);
        sb.append(", afno=").append(afno);
        sb.append(", cno=").append(cno);
        sb.append(", trname=").append(trname);
        sb.append(", cstate=").append(cstate);
        sb.append(", ccreatetime=").append(ccreatetime);
        sb.append(", ccosttime=").append(ccosttime);
        sb.append(", arcdate=").append(arcdate);
        sb.append(", arcprice=").append(arcprice);
        sb.append(", arcnum=").append(arcnum);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}